import request from '@/utils/request';

export async function getPickingReccieveHstByPage (params: any) {
    return request('/api/product/getPickingReccieveHstByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addPickingReccieveHst (params: any) {
    return request('/api/product/addPickingReccieveHst', {
    method: 'POST',
    data: params,
  });
}

export async function updatePickingReccieveHst (params: any) {
    return request('/api/product/updatePickingReccieveHst', {
    method: 'POST',
    data: params,
  });
}

export async function delPickingReccieveHst (params: any) {
    return request('/api/product/delPickingReccieveHst', {
    method: 'POST',
    data: params,
  });
}


export async function exportPickingReccieveHst(params: any) {
    return request('/api/product/exportPickingReccieveHst', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getPickingReccieveHstByPage, addPickingReccieveHst, updatePickingReccieveHst, delPickingReccieveHst, exportPickingReccieveHst }
